package cn.flying.cloud.system.vo;

import java.io.Serializable;
import java.util.List;

/**
 * vue导航菜单信息
 *
 * @author: admin
 * @date: 2024年03月19日 11:57
 * @version: 1.0
 */
public class MenuInfoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 资源名称
     */
    private String name;

    /**
     * 路由地址
     */
    private String path;
    /**
     * 组件资源地址
     */
    private String component;
    /**
     * 是否总是显示根目录
     */
    private Boolean alwaysShow;
    /**
     * 是否显示该菜单
     */
    private Boolean hidden;
    /**
     * 重定向路径
     */
    private String redirect;
    /**
     *
     */
    private Meta meta;

    /**
     * 子菜单
     */
    private List<MenuInfoVO> children;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

    public Boolean getAlwaysShow() {
        return alwaysShow;
    }

    public void setAlwaysShow(Boolean alwaysShow) {
        this.alwaysShow = alwaysShow;
    }

    public Boolean getHidden() {
        return hidden;
    }

    public void setHidden(Boolean hidden) {
        this.hidden = hidden;
    }

    public String getRedirect() {
        return redirect;
    }

    public void setRedirect(String redirect) {
        this.redirect = redirect;
    }

    public Meta getMeta() {
        return meta;
    }

    public void setMeta(Meta meta) {
        this.meta = meta;
    }

    public List<MenuInfoVO> getChildren() {
        return children;
    }

    public void setChildren(List<MenuInfoVO> children) {
        this.children = children;
    }

    public static class Meta {
        /**
         * 标题
         */
        private String title;

        /**
         * 图标
         */
        private String icon;
        /**
         * 图标
         */
        private Boolean noCache;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public Boolean getNoCache() {
            return noCache;
        }

        public void setNoCache(Boolean noCache) {
            this.noCache = noCache;
        }
    }
}



